package com.hice.demo.java.design.pattern.adapter.object;

import com.hice.demo.java.design.pattern.adapter.Source;
import com.hice.demo.java.design.pattern.adapter.pattern.Targetable;

/**
 * 对象的适配器模式
 *
 * Created by echal on 2016/2/2.
 */
public class WrapperAdapter implements Targetable{

    private Source source;

    public WrapperAdapter(Source source) {
        super();
        this.source = source;
    }

    @Override
    public void method1() {

    }

    @Override
    public void method2() {

    }
}
